package com.homedo.odin.solution.model.request.mng.useractionlog;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(description = "用户行为日志统计列表")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class UserActionStatisticsListRequestBean {

    @ApiModelProperty(value = "当前页码", required = true)
    @NotNull(message = "当前页码参数不能为空")
    @Min(value = 0, message = "当前页码非法参数")
    private Integer pageNum;

    @ApiModelProperty(value = "每页数量", required = true)
    @NotNull(message = "每页数量不能为空")
    @Min(value = 0, message = "每页数量参数错误")
    private Integer pageSize;

    @ApiModelProperty(value = "业务标识")
    @Min(value = 0, message = "业务标识参数错误")
    private Long businessId;

    @ApiModelProperty(value = "是否按位置分组显示数量")
    private boolean groupByPosition = false;
}
